package demo1;

public class Test {
    public  static void drawMap(Shape shape) {
        shape.draw();
    }
    public static void main(String[] args) {
//        Flower flower=new Flower();
//        flower.draw();
        drawMap(new Flower());
        drawMap(new Yuanxing());
    }
}
